﻿#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "qqtsysteminfo.h"
#include <iostream>

MainWindow::MainWindow ( QWidget* parent ) :
    QMainWindow ( parent ),
    ui ( new Ui::MainWindow )
{
    ui->setupUi ( this );
    QQtSystemInfo s;
    //std::cout << "===os information===" << std::endl;
    //s.getOSInfo();
    std::cout << "===cpu infomation===" << std::endl;
    TCPUTable f;
    s.getCPUInfo ( f );
    std::cout << "===memory information===" << std::endl;
    TMemTable f1;
    s.getMEMInfo ( f1 );
}

MainWindow::~MainWindow()
{
    delete ui;
}
